
package ae.pcfc.etks.finance.types.v2;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;


/**
 * <p>Java class for prepaidTransaction complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="prepaidTransaction">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="reservedAmount" type="{http://www.w3.org/2001/XMLSchema}double"/>
 *         &lt;element name="depositAmount" type="{http://www.w3.org/2001/XMLSchema}double"/>
 *         &lt;element name="trMode" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="trAmount" type="{http://www.w3.org/2001/XMLSchema}double"/>
 *         &lt;element name="trSourceId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="trReference" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="trSourceUser" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="trRemarks" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="auditGroupId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="auditDate" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "prepaidTransaction", propOrder = {
    "reservedAmount",
    "depositAmount",
    "trMode",
    "trAmount",
    "trSourceId",
    "trReference",
    "trSourceUser",
    "trRemarks",
    "auditGroupId",
    "auditDate",
    "any"
})
public class PrepaidTransaction {

    protected double reservedAmount;
    protected double depositAmount;
    @XmlElement(required = true)
    protected String trMode;
    protected double trAmount;
    protected int trSourceId;
    @XmlElement(required = true)
    protected String trReference;
    @XmlElement(required = true)
    protected String trSourceUser;
    @XmlElement(required = true)
    protected String trRemarks;
    protected int auditGroupId;
    @XmlElement(required = true)
    protected String auditDate;
    @XmlAnyElement
    protected List<Element> any;

    /**
     * Gets the value of the reservedAmount property.
     * 
     */
    public double getReservedAmount() {
        return reservedAmount;
    }

    /**
     * Sets the value of the reservedAmount property.
     * 
     */
    public void setReservedAmount(double value) {
        this.reservedAmount = value;
    }

    /**
     * Gets the value of the depositAmount property.
     * 
     */
    public double getDepositAmount() {
        return depositAmount;
    }

    /**
     * Sets the value of the depositAmount property.
     * 
     */
    public void setDepositAmount(double value) {
        this.depositAmount = value;
    }

    /**
     * Gets the value of the trMode property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTrMode() {
        return trMode;
    }

    /**
     * Sets the value of the trMode property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTrMode(String value) {
        this.trMode = value;
    }

    /**
     * Gets the value of the trAmount property.
     * 
     */
    public double getTrAmount() {
        return trAmount;
    }

    /**
     * Sets the value of the trAmount property.
     * 
     */
    public void setTrAmount(double value) {
        this.trAmount = value;
    }

    /**
     * Gets the value of the trSourceId property.
     * 
     */
    public int getTrSourceId() {
        return trSourceId;
    }

    /**
     * Sets the value of the trSourceId property.
     * 
     */
    public void setTrSourceId(int value) {
        this.trSourceId = value;
    }

    /**
     * Gets the value of the trReference property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTrReference() {
        return trReference;
    }

    /**
     * Sets the value of the trReference property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTrReference(String value) {
        this.trReference = value;
    }

    /**
     * Gets the value of the trSourceUser property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTrSourceUser() {
        return trSourceUser;
    }

    /**
     * Sets the value of the trSourceUser property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTrSourceUser(String value) {
        this.trSourceUser = value;
    }

    /**
     * Gets the value of the trRemarks property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTrRemarks() {
        return trRemarks;
    }

    /**
     * Sets the value of the trRemarks property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTrRemarks(String value) {
        this.trRemarks = value;
    }

    /**
     * Gets the value of the auditGroupId property.
     * 
     */
    public int getAuditGroupId() {
        return auditGroupId;
    }

    /**
     * Sets the value of the auditGroupId property.
     * 
     */
    public void setAuditGroupId(int value) {
        this.auditGroupId = value;
    }

    /**
     * Gets the value of the auditDate property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getAuditDate() {
        return auditDate;
    }

    /**
     * Sets the value of the auditDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setAuditDate(String value) {
        this.auditDate = value;
    }

    /**
     * Gets the value of the any property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the any property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getAny().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Element }
     * 
     * 
     */
    public List<Element> getAny() {
        if (any == null) {
            any = new ArrayList<Element>();
        }
        return this.any;
    }

}
